﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
using Tools.Maptools.Editor;
using com.yoozoo.gta;

[CustomEditor(typeof(WonderLineTool))]
public class WonderLineToolEditor : Editor
{
    private WonderLineTool _trafficNode;

    public override void OnInspectorGUI()
    {
        base.OnInspectorGUI();
        _trafficNode = (WonderLineTool)target;
   
        if (GUILayout.Button("生成坐标点"))
        {
            _trafficNode.AddPoint();
        }
    }
}

